<div class="card">
  <h5 class="card-header">登录</h5>
  <div class="card-body">
    
    <div class="form-group">
      <label for="exampleInputUsername">用户名：</label>
      <input type="text" class="form-control" id="exampleInputUsername" aria-describedby="emailHelp" placeholder="请输入您的用户名" [(ngModel)]="loginform.username">
    </div>

    <div class="form-group">
      <label for="exampleInputPassword">密码：</label>
      <input type="password" class="form-control" id="exampleInputPassword" placeholder="请输入您的密码" [(ngModel)]="loginform.password">
    </div>

    <div class="form-group form-check">
      <input type="checkbox" class="form-check-input" id="exampleCheck1">
      <label class="form-check-label" for="exampleCheck1">Check me out</label>
    </div>

    <div class="form-group">
      <button type="submit" class="btn btn-primary" (click)="login()">登录</button>
      <button type="button" class="btn btn-danger" (click)="reset()">重置</button>
    </div>
    

  </div>
</div>